/**
 * Created by Administrator on 2017/9/9.
 */
var render = function(page, data){
    var img = "";
    for (var i = 0; i < data.length; i++) {
        img += '<li><div class="img-box">' + '<a class="img-bg " rel="example_group" data-fancybox="images" href="http://ow02bmr8x.bkt.clouddn.com/' + data[i] + '"></a>' + '<img class="lazyload" data-original="http://ow02bmr8x.bkt.clouddn.com/' + data[i] + '" />'  + '</div></li>';
        //img += '<img src="http://yourqiniu.url.com/' + data[i] + '" />';
    }
    $(".img-box-ul").append(img);
    $("img.lazyload").lazyload();
    $("a[rel=example_group]").fancybox();
}